Game Dev: Implementing Damage Formulas